home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual Foxpro 6.0 (Ent. Edition) / Vf6ent Extractor.EXE / FFC / _APP.H next >
Encoding:
Text File  |  1998-05-26  |  6.7 KB  |  148 lines

  1. * _app.h
  2.  
  3. ***********************************************************
  4. localization strings and constants for _app.vcx 
  5. ***********************************************************
  6.  
  7. * _datasession class
  8. #DEFINE DATA_MESSAGEBOX_TITLE_LOC    "Data Message"
  9. #DEFINE DATA_OK_TO_SAVE_LOC          "OK to save your edit?"
  10. #DEFINE DATA_OK_TO_REVERT_LOC        "OK to cancel your changes?"
  11. #DEFINE DATA_UPDATE_CONFLICT_LOC     "Records have been locked by another user. "+ ;
  12.                                      CHR(13)+CHR(13) +;
  13.                                      "You can't update these records until the other lock is cancelled."
  14.  
  15. #DEFINE DATA_HAS_BEEN_EDITED_LOC     "Other people may have edited the data since you started editing. "+CHR(13)+CHR(13) +;
  16.                                      "OK to overwrite others' changes, "+CHR(13)+;
  17.                                      "or cancel your edit for the records in this table?"
  18. #DEFINE DATA_SAVE_BEFORE_CLOSE_LOC   "You have work in progress here."+CHR(13)+CHR(13)+; 
  19.                                      "Do you want to save your changes before closing?"                                     
  20. #DEFINE DATA_CANCEL_UNFINISHED_LOC   "You have work in progress here that cannot be saved yet."+CHR(13)+CHR(13)+; 
  21.                                      "Do you want still want to close, cancelling your changes?"                                     
  22.                                      
  23.  
  24. * _error class
  25. * error logging
  26. #DEFINE ERROR_MESSAGEBOX_TITLE_LOC   "Error Message" 
  27. #DEFINE ERROR_IN_ERROR_METHOD_LOC    "Error in error handler"
  28. #DEFINE ERROR_SERIOUS_CLASS_LOC      "Serious error of class"
  29. #DEFINE ERROR_CANNOT_BE_LOGGED_LOC   "The application will exit, and cannot add information about this error to the error log."
  30. #DEFINE ERROR_LOCK_LOC               "A file or record is unavailable"
  31. #DEFINE ERROR_PRINT_LOC              "The printer or printer driver you require is not available"
  32. #DEFINE ERROR_USER_FIX_LOC           "Please handle this problem, or wait and try again."      
  33. #DEFINE ERROR_USER_NOTE_LOC          "Please note this error information."  
  34.  
  35. * error log display
  36. #DEFINE ERROR_LOG_EMPTY_LOC          "The error log has no records."
  37. #DEFINE ERROR_LOG_UNAVAILABLE_LOC    "The error log is not available."
  38.  
  39. * error continuation choices
  40. #DEFINE ERROR_USER_CHOICES_LOC       "Continue Executing Program?"
  41.  
  42. #DEFINE ERROR_DEVEND_LOC             ERROR_USER_CHOICES_LOC+ ;
  43.                                      CHR(13)+CHR(13)+;
  44.                                      "Choose: "+CHR(13)+CHR(13)+ ;
  45.                                      "YES to Continue the program"+CHR(13)+;
  46.                                      "NO to Suspend "+CHR(13)+ ;
  47.                                      "CANCEL to Exit program completely."
  48.  
  49. #DEFINE ERROR_USEREND_LOC            ERROR_USER_CHOICES_LOC+ ;
  50.                                      CHR(13)+CHR(13)+;                                    
  51.                                      "Choose: "+CHR(13)+CHR(13)+ ;
  52.                                      "OK to Continue the program"+CHR(13)+;
  53.                                      "CANCEL to Exit program completely."
  54.                
  55. #DEFINE ERROR_OCCURRED_LOC           "An error has occurred"                                   
  56. #DEFINE ERROR_LOG_LOC                "Record details in error log files?"
  57.  
  58.  
  59. ***********************************************************
  60. * Messagebox subset from FOXPRO.H
  61. ***********************************************************
  62.  
  63. #DEFINE MB_OK                   0       && OK button only
  64. #DEFINE MB_OKCANCEL             1       && OK and Cancel buttons
  65. #DEFINE MB_ABORTRETRYIGNORE     2       && Abort, Retry, and Ignore buttons
  66. #DEFINE MB_YESNOCANCEL          3       && Yes, No, and Cancel buttons
  67. #DEFINE MB_YESNO                4       && Yes and No buttons
  68. #DEFINE MB_RETRYCANCEL          5       && Retry and Cancel buttons
  69.  
  70. #DEFINE MB_ICONSTOP             16      && Critical message
  71. #DEFINE MB_ICONQUESTION         32      && Warning query
  72. #DEFINE MB_ICONEXCLAMATION      48      && Warning message
  73. #DEFINE MB_ICONINFORMATION      64      && Information message
  74.  
  75. #DEFINE MB_APPLMODAL            0       && Application modal message box
  76. #DEFINE MB_DEFBUTTON1           0       && First button is default
  77. #DEFINE MB_DEFBUTTON2           256     && Second button is default
  78. #DEFINE MB_DEFBUTTON3           512     && Third button is default
  79. #DEFINE MB_SYSTEMMODAL          4096    && System Modal
  80.  
  81. *-- MsgBox return values
  82. #DEFINE IDOK            1       && OK button pressed
  83. #DEFINE IDCANCEL        2       && Cancel button pressed
  84. #DEFINE IDABORT         3       && Abort button pressed
  85. #DEFINE IDRETRY         4       && Retry button pressed
  86. #DEFINE IDIGNORE        5       && Ignore button pressed
  87. #DEFINE IDYES           6       && Yes button pressed
  88. #DEFINE IDNO            7       && No button pressed
  89.  
  90. ***********************************************************
  91. * Data-handling subset from FOXPRO.H
  92. ***********************************************************
  93. *-- Cursor buffering modes
  94. #DEFINE DB_BUFOFF               1
  95. #DEFINE DB_BUFLOCKRECORD        2
  96. #DEFINE DB_BUFOPTRECORD         3        
  97. #DEFINE DB_BUFLOCKTABLE         4
  98. #DEFINE DB_BUFOPTTABLE          5
  99.  
  100. *-- Update types for views/cursors
  101. #DEFINE DB_UPDATE               1
  102. #DEFINE DB_DELETEINSERT         2
  103.  
  104. *-- WHERE clause types for views/cursors
  105. #DEFINE DB_KEY                  1
  106. #DEFINE DB_KEYANDUPDATABLE      2
  107. #DEFINE DB_KEYANDMODIFIED       3
  108. #DEFINE DB_KEYANDTIMESTAMP      4
  109.  
  110. *-- Remote connection login prompt options
  111. #DEFINE DB_PROMPTCOMPLETE       1
  112. #DEFINE DB_PROMPTALWAYS         2
  113. #DEFINE DB_PROMPTNEVER          3
  114.  
  115. *-- Remote transaction modes
  116. #DEFINE DB_TRANSAUTO            1
  117. #DEFINE DB_TRANSMANUAL          2
  118.  
  119. *-- Source Types for CursorGetProp()
  120. #DEFINE DB_SRCLOCALVIEW         1
  121. #DEFINE DB_SRCREMOTEVIEW        2
  122. #DEFINE DB_SRCTABLE             3
  123.  
  124.  
  125. ***********************************************************
  126. * System Toolbar subset from FOXPRO.H, Tastrade STRINGS.H
  127. ***********************************************************
  128. *-- Toolbar Positions
  129. #DEFINE TOOL_NOTDOCKED  -1
  130. #DEFINE TOOL_TOP        0
  131. #DEFINE TOOL_LEFT       1
  132. #DEFINE TOOL_RIGHT      2
  133. #DEFINE TOOL_BOTTOM     3
  134.  
  135. *-- Toolbar names
  136. #DEFINE TB_FORMDESIGNER_LOC  "Form Designer"
  137. #DEFINE TB_STANDARD_LOC      "Standard"
  138. #DEFINE TB_LAYOUT_LOC        "Layout"
  139. #DEFINE TB_QUERY_LOC         "Query Designer"
  140. #DEFINE TB_VIEWDESIGNER_LOC  "View Designer"
  141. #DEFINE TB_COLORPALETTE_LOC  "Color Palette"
  142. #DEFINE TB_FORMCONTROLS_LOC  "Form Controls"
  143. #DEFINE TB_DATADESIGNER_LOC  "Database Designer"
  144. #DEFINE TB_REPODESIGNER_LOC  "Report Designer"
  145. #DEFINE TB_REPOCONTROLS_LOC  "Report Controls"
  146. #DEFINE TB_PRINTPREVIEW_LOC  "Print Preview"
  147.  
  148.